using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace RunAliasCreator
{
	/// <summary>
	/// Provides convenient methods for creating message boxes.
	/// </summary>
	public static class MessageBoxes
	{
		/// <summary>
		/// Displays a Yes/No message box.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult YesNo(string text)
		{ return YesNo(text, ApplicationData.ProductName, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays a Yes/No message box.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult YesNo(string text, string caption)
		{ return YesNo(text, caption, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays a Yes/No message box.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult YesNo(string text, string caption, MessageBoxDefaultButton defaultButton)
		{
			return MessageBox.Show(text, caption, MessageBoxButtons.YesNo, MessageBoxIcon.Question, defaultButton);
		}

		/// <summary>
		/// Displays a Yes/No/Cancel message box.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult YesNoCancel(string text)
		{ return YesNoCancel(text, ApplicationData.ProductName, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays a Yes/No/Cancel message box.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult YesNoCancel(string text, string caption)
		{ return YesNoCancel(text, caption, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays a Yes/No/Cancel message box.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult YesNoCancel(string text, string caption, MessageBoxDefaultButton defaultButton)
		{
			return MessageBox.Show(text, caption, MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question, defaultButton);
		}

		/// <summary>
		/// Displays an OK/Cancel message box.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult OKCancel(string text)
		{ return OKCancel(text, ApplicationData.ProductName, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays an OK/Cancel message box.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult OKCancel(string text, string caption)
		{ return OKCancel(text, caption, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays an OK/Cancel message box.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult OKCancel(string text, string caption, MessageBoxIcon icon)
		{ return OKCancel(text, caption, icon, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays an OK/Cancel message box.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult OKCancel(string text, string caption, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton)
		{
			return MessageBox.Show(text, caption, MessageBoxButtons.OKCancel, icon, defaultButton);
		}

		/// <summary>
		/// Displays a Retry/Cancel message box.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult RetryCancel(string text)
		{ return RetryCancel(text, ApplicationData.ProductName, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays a Retry/Cancel message box.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult RetryCancel(string text, string caption)
		{ return RetryCancel(text, caption, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays a Retry/Cancel message box.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult RetryCancel(string text, string caption, MessageBoxIcon icon)
		{ return RetryCancel(text, caption, icon, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays a Retry/Cancel message box.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult RetryCancel(string text, string caption, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton)
		{
			return MessageBox.Show(text, caption, MessageBoxButtons.RetryCancel, icon, defaultButton);
		}

		/// <summary>
		/// Displays an Abort/Retry/Ignore message box.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult AbortRetryIgnore(string text)
		{ return AbortRetryIgnore(text, ApplicationData.ProductName, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays an Abort/Retry/Ignore message box.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult AbortRetryIgnore(string text, string caption)
		{ return AbortRetryIgnore(text, caption, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays an Abort/Retry/Ignore message box.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult AbortRetryIgnore(string text, string caption, MessageBoxIcon icon)
		{ return AbortRetryIgnore(text, caption, icon, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays an Abort/Retry/Ignore message box.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult AbortRetryIgnore(string text, string caption, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton)
		{
			return MessageBox.Show(text, caption, MessageBoxButtons.AbortRetryIgnore, icon, defaultButton);
		}

		/// <summary>
		/// Displays a message box with the question mark icon.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult Question(string text)
		{ return Question(text, ApplicationData.ProductName, MessageBoxButtons.YesNo, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays a message box with the question mark icon.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult Question(string text, string caption)
		{ return Question(text, caption, MessageBoxButtons.YesNo, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays a message box with the question mark icon.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult Question(string text, string caption, MessageBoxButtons buttons)
		{ return Question(text, caption, buttons, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays a message box with the question mark icon.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult Question(string text, string caption, MessageBoxButtons buttons, MessageBoxDefaultButton defaultButton)
		{
			return MessageBox.Show(text, caption, buttons, MessageBoxIcon.Question, defaultButton);
		}

		/// <summary>
		/// Displays a message box with the exclamation mark icon.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult Exclamation(string text)
		{ return Exclamation(text, ApplicationData.ProductName, MessageBoxButtons.OK, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays a message box with the exclamation mark icon.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult Exclamation(string text, string caption)
		{ return Exclamation(text, caption, MessageBoxButtons.OK, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays a message box with the exclamation mark icon.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult Exclamation(string text, string caption, MessageBoxButtons buttons)
		{ return Exclamation(text, caption, buttons, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays a message box with the exclamation mark icon.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult Exclamation(string text, string caption, MessageBoxButtons buttons, MessageBoxDefaultButton defaultButton)
		{
			return MessageBox.Show(text, caption, buttons, MessageBoxIcon.Exclamation, defaultButton);
		}

		/// <summary>
		/// Displays a message box with the error icon.
		/// </summary>
		/// <param name="ex">The exception to report in the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult Error(Exception ex)
		{ return Error(Errors.SummarizeException(ex), ApplicationData.ProductName, MessageBoxButtons.OK, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays a message box with the error icon.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult Error(string text)
		{ return Error(text, ApplicationData.ProductName, MessageBoxButtons.OK, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays a message box with the error icon.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult Error(string text, string caption)
		{ return Error(text, caption, MessageBoxButtons.OK, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays a message box with the error icon.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult Error(string text, string caption, MessageBoxButtons buttons)
		{ return Error(text, caption, buttons, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays a message box with the error icon.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult Error(string text, string caption, MessageBoxButtons buttons, MessageBoxDefaultButton defaultButton)
		{
			return MessageBox.Show(text, caption, buttons, MessageBoxIcon.Hand, defaultButton);
		}

		/// <summary>
		/// Displays a message box with the information icon.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult Information(string text)
		{ return Information(text, ApplicationData.ProductName, MessageBoxButtons.OK, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays a message box with the information icon.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult Information(string text, string caption)
		{ return Information(text, caption, MessageBoxButtons.OK, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays a message box with the information icon.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult Information(string text, string caption, MessageBoxButtons buttons)
		{ return Information(text, caption, buttons, MessageBoxDefaultButton.Button1); }
		/// <summary>
		/// Displays a message box with the information icon.
		/// </summary>
		/// <param name="text">The text to display in the message box.</param>
		/// <param name="caption">The text to display in the title bar of the message box.</param>
		/// <param name="buttons">One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display
		/// in the message box.</param>
		/// <param name="defaultButton">One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default
		/// button for the message box.</param>
		/// <returns>One of the System.Windows.Forms.DialogResult values.</returns>
		public static DialogResult Information(string text, string caption, MessageBoxButtons buttons, MessageBoxDefaultButton defaultButton)
		{
			return MessageBox.Show(text, caption, buttons, MessageBoxIcon.Asterisk, defaultButton);
		}
	}

}
